]> dgit.raspbian.org Git - gnome-shell.git/commit
switchMonitor: Fix switching configuration
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 19 Mar 2022 15:53:59 +0000 (16:53 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sun, 20 Mar 2022 22:04:55 +0000 (22:04 +0000)
commit6c44162c17033fa8cbd2bcd58be9b2d3bb9a714a
tree872feb4da0053d1304c87c6bb75528a90a08d99d
parent2127222b39c763d2f018ecd03e4d6abdc995d1b0
switchMonitor: Fix switching configuration

Since commit 37271ffe709fc957, we pass an explicit `switchType` instead
of the selected item's index to select a configuration. Alas, the item
use `switchMode` as property name, so we always end up passing `undefined`.

Change both to `configType` which matches the API on the other end.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5217

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2245>
js/ui/switchMonitor.js